# +--------------------------
# | User: zq                -
# | Version: python3.7      -
# | Time: 2020-03-17 14:00                
# +--------------------------
import requests
from fake_useragent import UserAgent

ua = UserAgent()
headers = {
    'User-Agent': ua.random
}
res = requests.get("http://www.baidu.com", headers=headers)

pass
